<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>

	<title></title>

</head>
<body>

<p align="center">
	<h2>分类添加页</h2>
	<a href="index.html">分类主页</a>
</p>
<form action="../category/add" method="post">
	分类名称<input type="text" name="c_name">
	<br />
	上级权限<select name="parent_id">
				<option selected="selected" value="0">|--顶级权限</option>
				<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>">
						|<?php echo (str_repeat("--",$vo["lev"])); echo ($vo["c_name"]); ?>
					</option><?php endforeach; endif; else: echo "" ;endif; ?>
			</select>
	<br />
	是否推荐<input type="radio" name="isrec" value="1" >是
			<input type="radio" name="isrec" value="0" checked="checked">否
	<br />
	<input type="submit" name="提交">
</form>

</body>
</html>